package com.example.demo14streamproducer;

import com.example.demo14streamproducer.msg.ISendService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Processor;

/**
 * @author yawn
 */
@SpringBootApplication
@EnableEurekaClient
@EnableBinding({ISendService.class, Processor.class})
public class Demo14StreamProducerApplication {

	public static void main(String[] args) {
		SpringApplication.run(Demo14StreamProducerApplication.class, args);
	}
}
